package com.zm.demo.core.collection;

import org.junit.Test;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @author zoum
 * @create 2019/9/24 19:02
 */
public class ConcurrentHashMapTest {

    public static void main(String[] args){
        ConcurrentHashMap<String, String> map = new ConcurrentHashMap<>(7);
        for (int i = 0; i<180 ; i++) {
            map.put(""+i, "" + i);
        }

        for (int i = 181; i<385 ; i++) {
            map.put(""+i, "" + i);
        }
    }
}
